package com.ningxia.water.enums;

/**
 * @author huangzhen
 * @create 2021-05-20 17:31
 */
public enum WellUsageEnum {

    /**
     * code = 1 = 工业用水
     */
    INDUSTRY(1, "工业用水"),
    /**
     * code = 2 = 农业用水
     */
    AGRICULTURE(2, "农业用水"),
    /**
     * code = 3 = 生活用水
     */
    LIFE(3, "生活用水"),
    /**
     * code = 4 = 生产用水
     */
    PRODUCT(4, "生产用水");

    private final Integer code;
    private final String value;

    WellUsageEnum(Integer code, String value) {
        this.code = code;
        this.value = value;
    }

    public Integer getCode() {
        return code;
    }

    public String getValue() {
        return value;
    }
}
